import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

Vue.config.productionTip = false

new Vue({
  router,
  store, //将store实例从根组件中“注入”到所有的子组件里，子组件可通过this.$store访问到store里面的数据
  render: h => h(App)
}).$mount('#app')
